﻿//
// Created by francklinson on 2021/3/28.
//

#ifndef CPPPRIMERPLUSREADINGCODES_CD_H
#define CPPPRIMERPLUSREADINGCODES_CD_H

#include <iostream>
#include <cstring>

using namespace std;

// base class
class Cd { // represents a CD disk
private:
    char *performers;
    char *label;
    int selections;  // number of selections
    double playtime; // playing time in minutes
public:
    Cd(const char * s1 = "null",const char * s2="null", int n=0, double x=0.0);
    Cd(const Cd & d);
    virtual ~Cd();
    virtual void Report() const; // reports all CD data
    Cd & operator=(const Cd & d);
};
#endif //CPPPRIMERPLUSREADINGCODES_CD_H
